package com.rht.gulimallcoupon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * 秒杀活动场次
 * 
 * @author rht
 * @email rht@qq.com
 * @date 2024-11-07 13:55:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sms_seckill_session")
public class SeckillSessionEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
			@TableId
			private Long id;

	/**
	 * 场次名称
	 */
			private String name;

	/**
	 * 每日开始时间
	 */
			   @DateTimeFormat(pattern = "yyyy-MM-dd")
		private Date startTime;

	/**
	 * 每日结束时间
	 */
			   @DateTimeFormat(pattern = "yyyy-MM-dd")
		private Date endTime;

	/**
	 * 启用状态
	 */
			private Integer status;

	/**
	 * 创建时间
	 */
			   @DateTimeFormat(pattern = "yyyy-MM-dd")
		private Date createTime;


}
